﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities;
using Volo.Abp.MultiTenancy;
using Volo.Abp;
using System.ComponentModel.DataAnnotations.Schema;

namespace Himp.Platform.Dc
{
    /// <summary>
    /// 手术字典
    /// </summary>
    [Table("OPRN_DICT")]
    public class OprnDict : Entity<Guid>, IMultiTenant, ISoftDelete
    {
        /// <summary>
        /// 手术编码
        /// </summary>
        [Column("OPRN_CODE")]
        public string OprnCode { get; set; }

        /// <summary>
        /// 手术名称
        /// </summary>
        [Column("OPRN_NAME")]
        public string OprnName { get; set; }

        /// <summary>
        /// 版本号
        /// </summary>
        [Column("Ver")]
        public int Ver { get; set; }

        /// <summary>
        /// 拼音助记码
        /// </summary>
        [Column("PINYIN_MEMO")]
        public string? PinyinMemo { get; set; }

        /// <summary>
        /// 五笔助记码
        /// </summary>
        [Column("WUBI_MEMO")]
        public string? WubiMemo { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public bool IsDeleted { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public Guid? TenantId { get; set; }

        public OprnDict(string oprnCode,string oprnName)
        {
            OprnCode = oprnCode;
            OprnName = oprnName;
        }
    }
}
